var mongoose = require("mongoose");

var msgSchema = mongoose.Schema({
  state: Number,
  title: String,
  msg: String,
  time: String,
});

var msgModel = mongoose.model("msgs", msgSchema);

module.exports = msgModel;
